package com.example.demo1.pojo.vo;

import lombok.Data;

/**
 * Description: 本类用于
 * Created by DWB on 2019/12/26 18:05
 */
@Data
public class TokenVO {
    /**
     * 用户认证凭据
     */
    private String token;

    /**
     * 过期时间
     */
    private long expireTime;

    /**
     * 生成时间
     */
    private long generateTime;

    public TokenVO(String token, long expireTime, long generateTime) {
        this.token = token;
        this.expireTime = expireTime;
        this.generateTime = generateTime;
    }

    public TokenVO() {
    }
}
